package xyz.thoughtset.viewer.common.ai.model.entity.purpose;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import xyz.thoughtset.viewer.common.core.enums.EnumValue;

@Getter
@AllArgsConstructor
public enum ModelPurposeEnum implements IEnum<String> {
    CHAT("CHAT", ChatModelSetting.class)
    ,IMAGE("IMAGE", ImageModelSetting.class)
//    ,EMBEDDING("EMBEDDING")
//    ,EMBEDDING("EMBEDDING")
    ;

    @JsonValue
    private final String title;
    private final Class settingClass;

//    private ModelPurposeEnum(String title,String value) {
//        this.value = value;
//        this.title = title;
//    }


    @Override
    public String getValue() {
        return title;
    }
}
